package com.zerosky.crm.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.zerosky.crm.dao.SharingRecordsDAO;
import com.zerosky.crm.dao.WeixinConfigDAO;
import com.zerosky.crm.po.SharingRecords;
import com.zerosky.crm.po.WeixinCofing;
import com.zerosky.crm.service.SharingRecordsService;
import com.zerosky.crm.service.WeixinCofingService;
import com.zerosky.crm.util.PageInfo;

/**
 * WeixinCofing业务逻辑实现类
 * 
 * @author 周正祥;
 * @since 2017-07-13
 *
 */
@Service(value="weixinCofingService")
public class WeixinCofingServiceImpl implements WeixinCofingService {

	@Autowired
	private WeixinConfigDAO weixinConfigDAO; // SharingRecords数据接口
 
	@Transactional(propagation = Propagation.NOT_SUPPORTED) // 不开启事务
	public WeixinCofing getWeixinCofingByTitle(String id) {
		return weixinConfigDAO.getWeixinCofingByTitle(id);
	} 
}
